package com.cskaoyan.wx.service;
import com.cskaoyan.bean.Cart;
import com.cskaoyan.wx.bean.Checkout;
import com.cskaoyan.wx.bo.CartDeleteBO;
import com.cskaoyan.wx.bo.CartUpdateBO;
import com.cskaoyan.wx.bo.ChooseOrDeleteGoods;
import com.cskaoyan.wx.vo.CartIndexVO;
import com.cskaoyan.wx.vo.CheckoutVO;


public interface WxCartService {

    CartIndexVO getCartList(Integer user_id);

    CartIndexVO cartChecked(ChooseOrDeleteGoods chooseOrDeleteGoods);

    CartIndexVO cartDelete(CartDeleteBO cartDeleteBO);

    Integer goodsCount(Integer userId);

    Integer addCart(Cart cart);

    void cartUpdate(CartUpdateBO cartUpdateBO);

    CheckoutVO checkout(Checkout checkout);
}
